package com.ruoyi.documentStorage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程文件对象 uooc_course_document
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class UoocCourseDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资料ID */
    private Long recordId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 类型(教材/作业/实验) */
    @Excel(name = "类型(教材/作业/实验)")
    private String type;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String name;

    /** 文件类型后缀 */
    @Excel(name = "文件类型后缀")
    private String fileSuffix;

    /** 文件存储路径 */
    @Excel(name = "文件存储路径")
    private String filePath;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setFileSuffix(String fileSuffix) 
    {
        this.fileSuffix = fileSuffix;
    }

    public String getFileSuffix() 
    {
        return fileSuffix;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("type", getType())
            .append("name", getName())
            .append("fileSuffix", getFileSuffix())
            .append("filePath", getFilePath())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
